From ac8d025328e073b201a437b978f252e479549110 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 27 Aug 2007 08:30:13 +0000 Subject: [PATCH] (mac-handle-toolbar-switch-mode): Add explicit argument to tool-bar-mode call. --- lisp/term/mac-win.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index b9f28323694..e39e1fffeb0 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el @@ -1798,12 +1798,12 @@ Currently the `mailto' scheme is supported." "Toggle visibility of tool-bars in response to EVENT. With no keyboard modifiers, it toggles the visibility of the frame where the tool-bar toggle button was pressed. With some -modifiers, it changes global tool-bar visibility setting." +modifiers, it changes the global tool-bar visibility setting." (interactive "e") (let ((ae (mac-event-ae event))) (if (mac-ae-keyboard-modifiers ae) ;; Globally toggle tool-bar-mode if some modifier key is pressed. - (tool-bar-mode) + (tool-bar-mode 'toggle) (let ((frame (mac-ae-frame ae))) (set-frame-parameter frame 'tool-bar-lines (if (= (frame-parameter frame 'tool-bar-lines) 0) -- 2.30.2